<?php
/**
 * Extractors Search Screen
 * 
 * @author Xavier VILAIN
 * @package Orx\Etl
 * @license #license-orx#
 * 
 */
use Fox\Generator;
use Orx\Etl\Extractor;
use Orx\Etl;
use Fox\Html\Screen;
$interface = new Screen\Finder('extractors',Extractor::className());
$interface->screen()->pageTitle(Msg(Etl::BUNDLE,Etl::EXTRACTORS_LIST));
$interface->grid()
	->onClick(Generator::location(Generator::url('extractors','update',null,
	array('extractor' => Generator::useAttribute('extractor'))
	)))
	->fieldcat(array('label','udate','uname'))
		->switchToObjectMode()
		->setGenerators(array(
			'label' => Generator::call('label')
		));
		
echo $interface->render();